<?php
// ['middleware'=>'auth'];'middleware'=>'admin.login'
Route::group(['namespace'=>'Admin','prefix'=>'admin'],function(){
	Route::get('index','IndexController@index');
	// Route::get('index','IndexController@a');
	// Route::get('index','IndexController@b');

	//用户路由
	Route::resource('user','UserController');
	//栏目相关
	Route::resource('cat','CatController');


});
